package com.my.cd.adapter;

/**
 * 类适配器，通过继承已有类，实现新的接口来转换
 */
public class ClassAdapter extends Adaptee implements Target {
    @Override
    public void request() {
        //do something before
        olderRequest();
        //do something after
    }
}
